only block/unblock completion->priv->insert_text_id if it is actually
authorMichael Natterer <mitch@imendio.com>
Fri, 26 Jan 2007 11:39:16 +0000 (11:39 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 26 Jan 2007 11:39:16 +0000 (11:39 +0000)
commit0c5f393ad6ca6ec059b6267910857732898b2b08
treef78cc417ce95f081015bc1c27391d4903d6990e4
parent788b391cef7360a5f0a301afab40c465229269dc
only block/unblock completion->priv->insert_text_id if it is actually

2007-01-26  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
only block/unblock completion->priv->insert_text_id if it is
actually connected. While this can't happen the way GtkEntry
itself uses the completion, it's still public API and should not
blindly call functions that will spit warnings (fix taken from
maemo-gtk).

svn path=/trunk/; revision=17215
ChangeLog
gtk/gtkentrycompletion.c